package com.bdqn.demo01.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("transaction_record")
public class TransactionRecord implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String cardno;
    @TableField("transactionDate")
    private Date transactionDate;
    private BigDecimal amount;
    private BigDecimal balance;
    @TableField("transactionType")
    private String transactionType;
    private String remark;
}
